package cn.wolfcode.service;

import cn.wolfcode.domain.MessageBoardHjc;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IMessageBoardHjcService {
    void save(MessageBoardHjc messageBoardHjc);
    void delete(Long id);
    void update(MessageBoardHjc messageBoardHjc);
    MessageBoardHjc get(Long id);
    List<MessageBoardHjc> listAll();
    // 分页查询的方法
    PageInfo<MessageBoardHjc> query(QueryObject qo);

    MessageBoardHjc selectById(Long id);
}
